Closed (won't fix)
Project:
Lightbox2
Version:
5.x-2.8
Component:
Miscellaneous
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2008 at 22:27 UTC
Updated:
10 Feb 2009 at 12:08 UTC
hi everyone
i embedded a flv player in my page-node-lightbox2.tpl.php. but when i try to play something, it doesnt work, i can't even seem to click it (no cursor showing on the play button rollover).
here the code i use to embed the player
<p id='preview'>The player will show in this paragraph</p>
<script type='text/javascript'>
var s1 = new SWFObject('<?php print base_path() ; ?>files/player.swf','player','350','20','9');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode', 'transparent');
s1.addParam('flashvars','file=<?php print base_path() ; ?>files/audio/auto1_0.mp3');
s1.write('preview');
</script>
i tried setting the z-index for the #preview paragraph higher than the lightbox, but that doesn't change anything.
and i also embedded the player in a non-lightbox page, and then it works..
thanx in advance!
Comments
Comment #1
stella commentedSorry for the delay in responding. Are you trying to open the flash video in the lightbox? Or are you trying to play a video in the background, under a lightbox? What browsers does this happen in and on what platforms? Can you provide me with a link to a site where this is happening? My contact form is enabled if you wish to do so privately.
Are you trying to open a node page in a lightbox that is displaying a video? If so, is this an automatically handled link? If not, what is the html you are using to generate the links?
Comment #2
30equals commentedhi stella, now it's my turn to say sorry for the delay
it's mainly firefox which doesn't work. on windows
the flash video is embedded in the lightbox page (page-node-lightbox2.tpl.php)
i kinda worked around it with autoplaying the vid..
tahxn in advance
Comment #3
stella commentedI got one to work on my test site with the code you provided, once I added the following line:
Is this still a problem for you? If so can you provide a link to your site? My contact form is enabled if you wish to do so privately.
Cheers,
Stella
Comment #4
stella commentedOh you may need to use the dev version of the module.
Comment #5
stella commentedTry the newer release: 5.x-2.9.
Cheers,
Stella
Comment #6
stella commentedMarking as "won't fix" since no more information forthcoming in over a month. Please feel free to re-open the issue if you can provide more info.
Cheers,
Stella